<?if(!defined("B_PROLOG_INCLUDED") || B_PROLOG_INCLUDED!==true)die();?>

<div class="rss-show">
<?
if(is_array($arResult["item"])):
foreach($arResult["item"] as $arItem):?>
    <div class="rss-item">
	<?if(strlen($arItem["pubDate"])>0):?>
        <p><?=CIBlockRSS::XMLDate2Dec($arItem["pubDate"])?></p>
	<?endif;?>
        <h3><?=$arItem["title"]?></h3>
	<p><?echo str_replace("src=\"", "src=\"http://www.rosatom.ru", $arItem["description"]);?></p>
    </div>
<?endforeach;
endif;?>
</div>